package com.zc.operator.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商户对象 charge_mch_info
 * 
 * @author ruoyi
 * @date 2024-05-16
 */
public class ChargeMchInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Long id;

    /** 商户名称 */
    @Excel(name = "商户名称")
    private String name;

    /** 商户id */
    @Excel(name = "商户id")
    private String mchId;

    /** 商户密钥 */
    @Excel(name = "商户密钥")
    private String mchKey;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMchId(String mchId) 
    {
        this.mchId = mchId;
    }

    public String getMchId() 
    {
        return mchId;
    }
    public void setMchKey(String mchKey) 
    {
        this.mchKey = mchKey;
    }

    public String getMchKey() 
    {
        return mchKey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("mchId", getMchId())
            .append("mchKey", getMchKey())
            .append("createTime", getCreateTime())
            .toString();
    }
}
